home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / src / exampleCode / games / IndiZone / oort / multicast.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-08-02  |  1.5 KB  |  42 lines

  1. /*
  2.  * Copyright (C) 1994, Silicon Graphics, Inc.
  3.  * All Rights Reserved.
  4.  *
  5.  * This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon Graphics, Inc.;
  6.  * the contents of this file may not be disclosed to third parties, copied or
  7.  * duplicated in any form, in whole or in part, without the prior written
  8.  * permission of Silicon Graphics, Inc.
  9.  *
  10.  * RESTRICTED RIGHTS LEGEND:
  11.  * Use, duplication or disclosure by the Government is subject to restrictions
  12.  * as set forth in subdivision (c)(1)(ii) of the Rights in Technical Data
  13.  * and Computer Software clause at DFARS 252.227-7013, and/or in similar or
  14.  * successor clauses in the FAR, DOD or NASA FAR Supplement. Unpublished -
  15.  * rights reserved under the Copyright Laws of the United States.
  16.  */
  17. /***************************************************************************
  18.  *
  19.  * @(#) - Oort - Multicast Socket routines.
  20.  *
  21.  * $Id: multicast.h,v 1.2 1994/01/28 00:20:06 mtj Exp $
  22.  *
  23.  *                    Chris Fouts - Silicon Graphics, Inc.
  24.  *                    October, 1991
  25.  **************************************************************************/
  26.  
  27. #if !defined(MULTICAST_H)
  28.  
  29. #define MULTICAST_H
  30. #include <sys/types.h>
  31. #include <sys/socket.h>
  32. #include <netinet/in.h>
  33.  
  34.  
  35. /* BEGIN PROTOTYPES multicast.c */
  36. int openMulticastSocket( struct sockaddr_in *addr, u_short port, u_char ttl,
  37.         u_char loop, const char *group, const char *interface,
  38.         const char *mode_str ) ;
  39. /* END PROTOTYPES multicast.c */
  40.  
  41. #endif /* !defined(MULTICAST_H) */
  42.